split x = (f x, g x)